package com.hjm.project.profitDay.detailed.service;

import java.util.List;
import java.util.Map;

import com.hjm.project.profitDay.detailed.domain.ProfitDayDetailed;
import com.hjm.project.terminal.detail.domain.TerminalRecordDetailVo;

/**
 * 分润日结明细Service接口
 * 
 * @author maker-platform
 * @date 2021-01-16
 */
public interface IProfitDayDetailedService 
{
    /**
     * 查询分润日结明细
     * 
     * @param id 分润日结明细ID
     * @return 分润日结明细
     */
    public ProfitDayDetailed selectProfitDayDetailedById(Long id);

    /**
     * 查询分润日结明细列表
     * 
     * @param profitDayDetailed 分润日结明细
     * @return 分润日结明细集合
     */
    public List<ProfitDayDetailed> selectProfitDayDetailedList(ProfitDayDetailed profitDayDetailed);

    /**
     * 查询卡费返现列表
     *
     * @param profitDayDetailed 卡费返现
     * @return 卡费返现
     */
    public List<ProfitDayDetailed> selectCardFeeList(ProfitDayDetailed profitDayDetailed);

    public Map selectCardFeeSum(ProfitDayDetailed profitDayDetailed);
    /**
     * 查询卡费返现列表导出
     *
     * @param profitDayDetailed 卡费返现
     * @return 卡费返现
     */
    public List<TerminalRecordDetailVo> selectCardFeeListVo(ProfitDayDetailed profitDayDetailed);

    public List<Map<String,Object>> selectProfitDayDetailedListSum(ProfitDayDetailed profitDayDetailed);


    /**
     * 新增分润日结明细
     * 
     * @param profitDayDetailed 分润日结明细
     * @return 结果
     */
    public int insertProfitDayDetailed(ProfitDayDetailed profitDayDetailed);

    /**
     * 修改分润日结明细
     * 
     * @param profitDayDetailed 分润日结明细
     * @return 结果
     */
    public int updateProfitDayDetailed(ProfitDayDetailed profitDayDetailed);

    /**
     * 批量删除分润日结明细
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteProfitDayDetailedByIds(String ids);

    /**
     * 删除分润日结明细信息
     * 
     * @param id 分润日结明细ID
     * @return 结果
     */
    public int deleteProfitDayDetailedById(Long id);
}
